package com.wjyf.reducing_bento.mapper;

import com.wjyf.reducing_bento.model.entity.InviteReward;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wjyf.reducing_bento.model.vo.InviteRecordVo;
import com.wjyf.reducing_bento.model.vo.InviteRewardVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 26439
 * @description 针对表【tb_invite_reward(邀请奖励表)】的数据库操作Mapper
 * @createDate 2023-04-29 19:14:54
 * @Entity com.wjyf.reducing_bento.model.entity.InviteReward
 */
@Mapper
public interface InviteRewardMapper extends BaseMapper<InviteReward> {

    List<InviteRewardVo> selectPageToInviteRewardVoList(@Param("current") long current, @Param("pageSize") long pageSize, @Param("uId") Long uId);

    Long selectPageToInviteRewardVoListCount(@Param("uId") Long uId);
}




